public class test extends d{
    public static void main(String[] args) {
        test t=new test();
    }
}
class d{
    public d(){
        System.out.println("666");
    }
    f f=new f();
}
class f{
    public f(){
        System.out.println("888");
    }
}
